package Ex5th;

public class TransTool {
    protected String type;
    protected String color;
    protected String brand;

    protected TransTool(String type, String color, String brand){
        this.type = type;
        this.color = color;
        this.brand = brand;
    }

    public void intro(){
        System.out.println("\t----------------这是" + type + "的产品介绍----------------");
        System.out.println("\t颜色：" + color);
        System.out.println("\t品牌：" + brand);
    }
}
